/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.chapter5.designpatters.creationpatterns.prototype.prototypeimplementation;

import za.ac.cput.chapter5.designpatters.creationpatterns.prototype.prototypeinterface.Prototype;

/**
 *
 * @author Sakhe
 */
public class Dogs implements Prototype{
 
    String sound ;
    public Dogs (String sound){
    this.sound = sound;
    }
    @Override
    public Prototype doClone(){
    return new Dogs(sound);
    }
}
